package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 置顶的新闻、问答
 */

/**
 * 新闻<br>
 * @author yangh
 */
@Entity
@Table(name = "top")
public class Top extends TXBYObject {
    private Integer category;       // 问答1 新闻2
    @Column(name = "group_id")@JSONField(name = "group_id")
    private Integer groupId;        // 所属标签id
    private Integer oid;
    @Column(name = "order_id")@JSONField(name = "order_id")
    private Integer orderId;

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
}
